package com.wenli.lt.java8.Impl;

import com.wenli.lt.java8.MyPredicate;
import com.wenli.lt.java8.entity.Product;

public class PricePredicate  implements MyPredicate<Product> {
    @Override
    public boolean test(Product product) {
        return product.getPrice() < 8000;
    }
}
